<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <!-- <button v-bind:id="box">按钮</button>
    <div v-bind:aa="a">11</div>
    <img v-bind:src="imgSrc" alt=""> -->
    <button :id="box">按钮</button>
    <div :aa="a">11</div>
    <img :src="imgSrc" alt="">
  </div>
  <script src="./vue.js"></script>
  <script>
  
    const vm = new Vue({
      el: '#app',
      data: {
        box: 'box1111',
        a: '自定义属性的值',
        imgSrc: 'http://pic1.win4000.com/wallpaper/a/56988cefd8ac5_270_185.jpg'
      }
    })
    
  </script>
</body>

</html>